package com.jams.goodox.entity;

import java.io.Serializable;

/**
 * Created by jams on 2017/6/6.
 * ***
 * Tel: ***
 *
 * 简历对象
 */

public class ResumeBean implements Serializable {

    private String adminId;//公司付款id
    private String enterpriseId;
    private String id;//订单id
    private String jobLife;//工作年限
    private String major;//专业
    private String name;//投递人
    private int orderStatus;//订单状态0,待处理,1已支付,2不匹配'
    private String positionName;//职位名称
    private String recommendId;
    private String recommendName;//	推荐人
    private String resumeId;//简历id
    private int reward;//奖金
    private String company;//公司
    private String connection;//	联系方式
    private String education;//	学历
    private String email;
    private String marriage;//	结婚
    private String position;//	职位
    private String positionId;
    private String school;//学校

    private int actionType;//本地保存状态，用来记录是否已被支付或不匹配 0未操作  1不匹配  2已支付

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }

    private String salary;//薪水,直接显示

    public String getConnection() {
        return connection;
    }

    public void setConnection(String connection) {
        this.connection = connection;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMarriage() {
        return marriage;
    }

    public void setMarriage(String marriage) {
        this.marriage = marriage;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getPositionId() {
        return positionId;
    }

    public void setPositionId(String positionId) {
        this.positionId = positionId;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    private int sex;//	0男1女

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getAdminId() {
        return adminId;
    }

    public void setAdminId(String adminId) {
        this.adminId = adminId;
    }

    public String getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(String enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getJobLife() {
        return jobLife;
    }

    public void setJobLife(String jobLife) {
        this.jobLife = jobLife;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getRecommendId() {
        return recommendId;
    }

    public void setRecommendId(String recommendId) {
        this.recommendId = recommendId;
    }

    public String getRecommendName() {
        return recommendName;
    }

    public void setRecommendName(String recommendName) {
        this.recommendName = recommendName;
    }

    public String getResumeId() {
        return resumeId;
    }

    public void setResumeId(String resumeId) {
        this.resumeId = resumeId;
    }

    public int getReward() {
        return reward;
    }

    public void setReward(int reward) {
        this.reward = reward;
    }

    public String getSexStr(){
        if(sex == 0){
            return "男";
        }else if(sex == 1){
            return "女";
        }
        return "";
    }

    public int getActionType() {
        return actionType;
    }

    public void setActionType(int actionType) {
        this.actionType = actionType;
    }
}
